/**
 * 获取 accounts
 */
exports.cookies = function ({query, body}, {models: {UsersAccounts}}) {
    return UsersAccounts.findAll({
        where: {domain: query.domain, status: 'Active'},
        attributes: ['id', 'cookies'],
        raw: true,
        limit: 50
    });
}